home *** CD-ROM | disk | FTP | other *** search
- TESTFILE.EXE
- By Dan Shore - SysOp
- THE SHORELINE BBS
- 12/24/9600 HST
- 301-946-2771
- ---------------
- T E S T F I L E
- ---------------
-
- This program will check files for dates and return an
- errorlevel of 1, if the percentage of files is GREATER than
- the SysOp specified amount. If the percentage is EQUAL to
- the SysOp specified amount, the file testing will return an
- errorleve of 0.
-
- This program WILL NOT check files INSIDE a compressed file. You
- MUST decompress the file into a subdirectory containing only
- the files that are from the compressed file. Basically the batch
- file would be something like this.
-
- Upload Directory = D:\TEST
- Test Directory = D:\TEST\1
-
- pkunzip d:\new\filename.zip d:\test\1
- testfile 1985 50 d:\new\1
- if errorlevel 1 del filename.zip
- echo y | del d:\new\1\*.*
- echo "File deleted - TOO OLD" > COM1
-
-
- The command line for TESTFILE is broken down as follows:
-
- TESTFILE <Date> <Percentage> <Path>
-
- Date = Earliest date allowed for files.
- Input the WHOLE year here (ex. 1985)
-
-
- Percentage = Percentage of files that can be older than the
- specified earliest date. If the percentage is
- GREATER than this number the program returns
- and errorlevel of 1, otherwise it returns an
- errorlevel of 0.
-
- Path = Path to the directory to check files. DO NOT USE
- A TRAILING BACKSLASH HERE!
-
-
-
- Warranty & Disclaimer:
-
- THIS PRODUCT IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND,
- INCLUDING ANY WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR
- PURPOSE. THE ENTIRE RISK AS TO THE RESULTS AND PERFORMANCE OF THE
- PROGRAM IS ASSUMED BY YOU. FURTHERMORE, I THE AUTHOR DO NOT WARRANT,
- GUARANTEE, OR MAKE ANY REPRESENTATIONS REGARDING THE USE OF OR THE
- RESULTS OF THE USE OF THE PROGRAM, OR THAT THE PROGRAM WILL RUN WITHOUT
- ERROR, AND YOU RELY ON THE PROGRAM AND RESULTS SOLELY AT YOUR OWN RISK.
- I THE AUTHOR CANNOT ACCEPT RESPONSIBILITY FOR SYSTEM DAMAGE, LOSS OF
- PROFIT, OR ANY OTHER SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
- RESULTING FROM THE USE OR INABILITY TO USE THIS PRODUCT.
-
-
- If you have any problems with using this file you can leave a message
- for me on my BBS, or a message on RIME RBBS conference or RBBS-NET
- RBBS-PC conference.
-
- Dan Shore - SysOp
- THE SHORELINE BBS
- DGS Systems (Wonder)
- 301-946-2771
- RIME Node-Id -> SHORLINE
-
-